package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallAd;
import org.linlinjava.litemall.db.domain.LitemallAdExample;

public interface LitemallAdMapper {
    long countByExample(LitemallAdExample example);

    int deleteByExample(LitemallAdExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LitemallAd record);

    int insertSelective(LitemallAd record);

    List<LitemallAd> selectByExample(LitemallAdExample example);

    LitemallAd selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") LitemallAd record, @Param("example") LitemallAdExample example);

    int updateByExample(@Param("record") LitemallAd record, @Param("example") LitemallAdExample example);

    int updateByPrimaryKeySelective(LitemallAd record);

    int updateByPrimaryKey(LitemallAd record);
}